obj-m	:= chpciintf.o

KERNELDIR = /lib/modules/$(shell uname -r)/build
PWD       := $(shell pwd)

all:
	$(MAKE) -C $(KERNELDIR) M=$(PWD) modules
	gcc -Wall -o app app.c

clean:
	$(MAKE) -C $(KERNELDIR) M=$(PWD) clean

